﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IBLL;
using BLLFactory;

namespace Face.Web.login_and_signup
{
    public partial class checkUsername : System.Web.UI.Page
    {
        UserinfoIBLL userinfoIBLL = BLLFactory.DataAccess.getUserinfoIBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["username"] != null)
            {
                string username = Request.QueryString["username"].ToString();
                Response.Write(userinfoIBLL.hasUsername(username));
                Response.End();
            }
        }
    }
}